
package org.xteam.pascal.parser;

public abstract class PascalTokenNames implements IPascalTokens {

	private static java.util.Map<Integer, String> names = new java.util.HashMap<Integer, String>();
	
	static {
		names.put(AND, "AND");
		names.put(ARRAY, "ARRAY");
		names.put(BEGIN, "BEGIN");
		names.put(CASE, "CASE");
		names.put(CONST, "CONST");
		names.put(DIV, "DIV");
		names.put(DO, "DO");
		names.put(DOWNTO, "DOWNTO");
		names.put(ELSE, "ELSE");
		names.put(END, "END");
		names.put(FOR, "FOR");
		names.put(FILE, "FILE");
		names.put(FUNCTION, "FUNCTION");
		names.put(FORWARD, "FORWARD");
		names.put(GOTO, "GOTO");
		names.put(IF, "IF");
		names.put(IN, "IN");
		names.put(LABEL, "LABEL");
		names.put(MOD, "MOD");
		names.put(NIL, "NIL");
		names.put(OF, "OF");
		names.put(OR, "OR");
		names.put(PACKED, "PACKED");
		names.put(PROCEDURE, "PROCEDURE");
		names.put(PROGRAM, "PROGRAM");
		names.put(RECORD, "RECORD");
		names.put(REPEAT, "REPEAT");
		names.put(SET, "SET");
		names.put(THEN, "THEN");
		names.put(TO, "TO");
		names.put(TYPE, "TYPE");
		names.put(UNTIL, "UNTIL");
		names.put(VAR, "VAR");
		names.put(WHILE, "WHILE");
		names.put(WITH, "WITH");
		names.put(LPAR, "LPAR");
		names.put(RPAR, "RPAR");
		names.put(LBRT, "LBRT");
		names.put(RBRT, "RBRT");
		names.put(SEMI, "SEMI");
		names.put(COMA, "COMA");
		names.put(EQUALS, "EQUALS");
		names.put(COLO, "COLO");
		names.put(RANGE, "RANGE");
		names.put(PLUS, "PLUS");
		names.put(MINUS, "MINUS");
		names.put(HAT, "HAT");
		names.put(ASSIGN, "ASSIGN");
		names.put(DOT, "DOT");
		names.put(STAR, "STAR");
		names.put(SLASH, "SLASH");
		names.put(LT, "LT");
		names.put(GT, "GT");
		names.put(LE, "LE");
		names.put(GE, "GE");
		names.put(NE, "NE");
		names.put(IDENT, "IDENT");
		names.put(STRING, "STRING");
		names.put(INTEGER, "INTEGER");
		names.put(NUMBER, "NUMBER");
	}

	public static String nameOf(int s) {
		return names.get(s);
	}
}
